from django.urls import path
from .views import LoginView, RegisterView, SendSmsCodeView, SmsLoginView, ImageCodeView, RefreshTokenView, TestView, SimpleLoginView, DebugLoginView

urlpatterns = [
    path('login/', LoginView.as_view(), name='login'),
    path('register/', RegisterView.as_view(), name='register'),
    path('send-sms/', SendSmsCodeView.as_view(), name='send_sms'),
    path('sms-login/', SmsLoginView.as_view(), name='sms_login'),
    path('getimagecode/', ImageCodeView.as_view(), name='getimagecode'),
    path('refresh-token/', RefreshTokenView.as_view(), name='refresh_token'),
    path('test/', TestView.as_view(), name='test'),
    path('simple-login/', SimpleLoginView.as_view(), name='simple_login'),
    path('debug-login/', DebugLoginView.as_view(), name='debug_login'),
]